let handler = {
	set: function(obj, prop, val) {
		if (prop == "avanda") {
			setTimeout(() => {
				console.log("設置成功 : " + val);
			}, 1000)
			obj[prop] = val
		}
	}
}

let newproxy = new Proxy({}, handler)
async function AsyncFun() {
	console.log("進入 async");
	let a = await new Promise((rs, rj) => {
		setTimeout(() => {
			newproxy["avanda"] = 666
			rs(888)
		}, 1000)
	}).then((abd) => {
		console.log(abd);
	})
	console.log("設置成功");
}

AsyncFun()
